package com.durablemethods.futures.client;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.DialogBox;

public class CloseDialog implements ClickHandler {
	
	private DialogBox dialogBox;

	public CloseDialog(DialogBox box) {
		this.dialogBox = box;
	}

	@Override
	public void onClick(ClickEvent event) {
		dialogBox.hide();

	}

}
